package net.jlibrary.curbparking;

import java.util.ResourceBundle;

import org.springframework.context.i18n.LocaleContextHolder;

import net.jlibrary.common.CoreConstants;

/**
 * 常量
 * @author fzys
 *
 */
public class Constants {
	/**
	 * 存放目录，绝对路径
	 */
	public static final String UPLOAD_PATH = ResourceBundle
			.getBundle(CoreConstants.CONFIG_FILE_NAME, LocaleContextHolder.getLocale()).getString("upload.path");
	
	/**
	 * 后台接口地址
	 */
	public static final String YUN_URL = "http://localhost:8081/telematics/routeway/curbParking/service";

	// =============================================================
	// =============================================================
	// =====================泊位状态===============================
	/**
	 * 泊位状态：占用
	 */
	public static final String BERTH_STATUS_B001 = "B001";
	/**
	 * 泊位状态：空闲
	 */
	public static final String BERTH_STATUS_B002 = "B002";
	/**
	 * 泊位状态：未知
	 */
	public static final String BERTH_STATUS_B003 = "B003";

	// =============================================================
	// =============================================================
	// =====================车型===============================
	/**
	 * 车型：未知
	 */
	public static final String CAR_TYPE_CT000 = "CT000";
	/**
	 * 车型：轿车
	 */
	public static final String CAR_TYPE_CT001 = "CT001";
	/**
	 * 车型：面包车
	 */
	public static final String CAR_TYPE_CT002 = "CT002";
	/**
	 * 车型：大型客车
	 */
	public static final String CAR_TYPE_CT003 = "CT003";
	/**
	 * 车型：中型客车
	 */
	public static final String CAR_TYPE_CT004 = "CT004";
	/**
	 * 车型：皮卡
	 */
	public static final String CAR_TYPE_CT005 = "CT005";
	/**
	 * 车型：非机动车
	 */
	public static final String CAR_TYPE_CT006 = "CT006";
	/**
	 * 车型：SUV
	 */
	public static final String CAR_TYPE_CT007 = "CT007";
	/**
	 * 车型：MPV
	 */
	public static final String CAR_TYPE_CT008 = "CT008";
	/**
	 * 车型：微型货车
	 */
	public static final String CAR_TYPE_CT009 = "CT009";
	/**
	 * 车型：轻型货车
	 */
	public static final String CAR_TYPE_CT010 = "CT010";
	/**
	 * 车型：中型货车
	 */
	public static final String CAR_TYPE_CT011 = "CT011";
	/**
	 * 车型：重型货车
	 */
	public static final String CAR_TYPE_CT012 = "CT012";

	// =============================================================
	// =============================================================
	// =====================车牌颜色===============================
	/**
	 * 车牌颜色：未知
	 */
	public static final String PLATE_COLOR_PC000 = "PC000";
	/**
	 * 车牌颜色：蓝底白字
	 */
	public static final String PLATE_COLOR_PC001 = "PC001";
	/**
	 * 车牌颜色：黄底黑字
	 */
	public static final String PLATE_COLOR_PC002 = "PC002";
	/**
	 * 车牌颜色：白底黑字
	 */
	public static final String PLATE_COLOR_PC003 = "PC003";
	/**
	 * 车牌颜色：黑底白字
	 */
	public static final String PLATE_COLOR_PC004 = "PC004";
	/**
	 * 车牌颜色：绿底白字
	 */
	public static final String PLATE_COLOR_PC005 = "PC005";
	/**
	 * 车牌颜色：绿底黑字
	 */
	public static final String PLATE_COLOR_PC006 = "PC006";
	/**
	 * 车牌颜色：绿黄底黑字
	 */
	public static final String PLATE_COLOR_PC007 = "PC007";

	// =============================================================
	// =============================================================
	// =====================设备状态===============================
	/**
	 * 设备状态：异常
	 */
	public static final String DEVICE_STATUS_DS000 = "DS000";
	/**
	 * 设备状态：正常
	 */
	public static final String DEVICE_STATUS_DS001 = "DS001";
	/**
	 * 设备状态：离线
	 */
	public static final String DEVICE_STATUS_DS002 = "DS002";

	// =============================================================
	// =============================================================
	// =====================停车区类型===============================
	/**
	 * 停车区类型：开放式平行
	 */
	public static final String PARKING_PLACE_TYPE_PPT001 = "PPT001";
	/**
	 * 停车区类型：开放式垂直
	 */
	public static final String PARKING_PLACE_TYPE_PPT002 = "PPT002";
	/**
	 * 停车区类型：半封闭
	 */
	public static final String PARKING_PLACE_TYPE_PPT003 = "PPT003";
	/**
	 * 停车区类型：全封闭
	 */
	public static final String PARKING_PLACE_TYPE_PPT004 = "PPT004";
	/**
	 * 停车区类型：其他
	 */
	public static final String PARKING_PLACE_TYPE_PPT005 = "PPT005";

	// =============================================================
	// =============================================================
	// =====================停车状态===============================
	/**
	 * 停车状态：停车中
	 */
	public static final String PARK_RECORD_STATUS_PRS001 = "PRS001";
	/**
	 * 停车状态：入场状态不明确
	 */
	public static final String PARK_RECORD_STATUS_PRS002 = "PRS002";
	/**
	 * 停车状态：已离场
	 */
	public static final String PARK_RECORD_STATUS_PRS003 = "PRS003";
	/**
	 * 停车状态：离场状态不明确
	 */
	public static final String PARK_RECORD_STATUS_PRS004 = "PRS004";

	// =============================================================
	// =============================================================
	// =====================图片集类别===============================
	/**
	 * 图片集类别：入场
	 */
	public static final String PICTURE_GALLERY_TYPE_PGTS001 = "PGT001";
	/**
	 * 图片集类别：离场
	 */
	public static final String PICTURE_GALLERY_TYPE_PGTS002 = "PGT002";
	/**
	 * 图片集类别：定时抓拍
	 */
	public static final String PICTURE_GALLERY_TYPE_PGTS003 = "PGT003";
}
